package com.ruoyi.consume.service;

import java.util.List;
import com.ruoyi.consume.domain.BladeApplyTemporaryCon;

/**
 * 刀片临时领用Service接口
 *
 * @author ruoyi
 * @date 2021-07-27
 */
public interface IBladeApplyTemporaryConService
{
    /**
     * 查询刀片临时领用
     *
     * @param bladeApplyTemporaryId 刀片临时领用ID
     * @return 刀片临时领用
     */
    public BladeApplyTemporaryCon selectBladeApplyTemporaryById(Long bladeApplyTemporaryId);

    /**
     * 查询刀片临时领用列表
     *
     * @param bladeApplyTemporaryCon 刀片临时领用
     * @return 刀片临时领用集合
     */
    public List<BladeApplyTemporaryCon> selectBladeApplyTemporaryList(BladeApplyTemporaryCon bladeApplyTemporaryCon);

    /**
     * 新增刀片临时领用
     *
     * @param bladeApplyTemporaryCon 刀片临时领用
     * @return 结果
     */
    public int insertBladeApplyTemporary(BladeApplyTemporaryCon bladeApplyTemporaryCon);

    /**
     * 修改刀片临时领用
     *
     * @param bladeApplyTemporaryCon 刀片临时领用
     * @return 结果
     */
    public int updateBladeApplyTemporary(BladeApplyTemporaryCon bladeApplyTemporaryCon);

    /**
     * 批量删除刀片临时领用
     *
     * @param bladeApplyTemporaryIds 需要删除的刀片临时领用ID
     * @return 结果
     */
    public int deleteBladeApplyTemporaryByIds(Long[] bladeApplyTemporaryIds);

    /**
     * 删除刀片临时领用信息
     *
     * @param bladeApplyTemporaryId 刀片临时领用ID
     * @return 结果
     */
    public int deleteBladeApplyTemporaryById(Long bladeApplyTemporaryId);

    /**
     * 更新库存量表
     *
     * @param bladeApplyTemporaryCon 刀片临时领用
     * @return 结果
     */
    public int updateAmount(BladeApplyTemporaryCon bladeApplyTemporaryCon);

    /**
     * 更新领用状态
     *
     * @param bladeApplyTemporaryId 刀片临时领用ID
     * @return 结果
     */
    public int updateConsumeStatus(Long bladeApplyTemporaryId);

    /**
     * 退回操作
     *
     * @param bladeApplyTemporaryId 刀片临时领用ID
     * @return 结果
     */
    public int updateApprovalStatus(Long bladeApplyTemporaryId);
}
